package service;

import bean.Favorite;

import java.util.List;

public interface IFavoriteService {
    List<Favorite> queryAll();

    Favorite queryById(Integer fid);

    void add(Favorite favorite);

    void update(Favorite favorite);

    void delete(Favorite favorite);
}
